import {get} from '../../utils/request'
interface Params{
    id:number
}
// 封装列表接口
const getList=()=>{
    return get('api/visit/department/list')
}
// 查询
const getShow=(params:Params)=>{
    return get('api/visit/department/show',params)
}

export {getList,getShow}